package com.changgou.order.controller;

import com.changgou.core.controller.AbstractCoreController;
import com.changgou.order.pojo.ReturnOrderItem;
import com.changgou.order.service.ReturnOrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liyipeng
 * @date 2021-06-26 17:00
 */
@RestController
@RequestMapping("/returnOrderItem")
@CrossOrigin
public class ReturnOrderItemController extends AbstractCoreController<ReturnOrderItem>{

    private ReturnOrderItemService  returnOrderItemService;

    @Autowired
    public ReturnOrderItemController(ReturnOrderItemService  returnOrderItemService) {
        super(returnOrderItemService, ReturnOrderItem.class);
        this.returnOrderItemService = returnOrderItemService;
    }
}
